package com.dogsong.liteflow.editor.service;

import com.dogsong.liteflow.editor.bean.*;

import java.util.List;

/**
 * BizService
 *
 * @author <a href="mailto:dogsong99@163.com">dosong</a>
 * @since 2024/6/12
 */
public interface BizService {

    List<CmpInfoVO> getCmpList();

    List<ChainInfoVO> getChainList();

    VerificationResult verifyELExpression(CmpProperty jsonEl);

    CommonResult createChain(CreateChainVO createChainVO);

    CommonResult deleteChain(DeleteChainVO deleteChainVO);

    CommonResult updateChain(UpdateChainVO updateChainVO);

    ChainInfo getChainById(String chainId);
}
